<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dxjt_toolkit: dxjt_toolkit</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">dxjt_toolkit
   &#160;<span id="projectnumber">0.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="PageDoc"><div class="header">
  <div class="headertitle">
<div class="title">dxjt_toolkit </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="md_README"></a> 解析JT格式文件。</p>
<h2><a class="anchor" id="autotoc_md1"></a>
简介</h2>
<p>在设计上分二层，其中 libdxjt.dll 贴近JT格式解码，而 dxjt_toolkit 则类比 JTOpen Toolkit 转换类似的组织形式。</p>
<p>个人作品，底层实现 <b>libdxjt</b> 和 <b>dxjt_toolkit</b> 不开源，仅演示基于它们的用法与案例。</p>
<p>dxjt_toolkit 仅依赖：</p><ul>
<li>zlib.dll</li>
<li>liblzma.dll</li>
</ul>
<p>代码层面，仅依赖标准库与boost。</p>
<h2><a class="anchor" id="autotoc_md2"></a>
功能特性</h2>
<ul>
<li>支持读取 JT 8.0 - JT 10.5格式，但仅限于 LSG Scene 与 RangeLOD显示</li>
<li>支持 JT 8.1 格式的写入，当前测试仅部件形式在 Jt2Go 里可以打开</li>
<li>不支持解析 JT BREP Segment，更没法解析 XT BREP Segment</li>
<li>暂时没有多线程读取能力，也并不应用延迟加载</li>
</ul>
<h1><a class="anchor" id="autotoc_md3"></a>
Change Log</h1>
<ul>
<li>将接口头文件各类，加前缀 Dx，目的是为了加大与 JtOpen 头文件的区分度</li>
<li>解决 JT10 版本里边的 Move-to-Front 解码问题</li>
<li>修复读取某些JT文件时的错误问题</li>
</ul>
<h2><a class="anchor" id="autotoc_md4"></a>
TODO</h2>
<ul>
<li>了解 JT格式里 JT_PROP_NAME 的构件规则，确保带有Instance的装配可以正确写入</li>
<li>多线程加载 JT 文件</li>
</ul>
<h2><a class="anchor" id="autotoc_md5"></a>
参考资源</h2>
<ul>
<li>JT-v8.1_File_Format_Reference.PDF</li>
<li>JT-v95_File_Format_Reference_Rev-D.pdf</li>
<li>ISO14306-2012 Industrial automation systems and integration - JT file format specification for 3D visualization</li>
<li>ISO14306-2017 Industrial automation systems and integration - JT file format specification for 3D visualization</li>
<li>JT-V10.5 Format Description and annexs 10292019_tcm27-58011.pdf </li>
</ul>
</div></div><!-- PageDoc -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
